package cn.cvs.service;

import cn.cvs.pojo.SysUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

public interface UserService {
    SysUser doLogin(String username
            , String password);
    List<SysUser> findAll();

    void addUser(SysUser user);

    SysUser getUserByName(String usrName);

    SysUser findRoleByUsrName(String userName);
}
